home *** CD-ROM | disk | FTP | other *** search
/ Aminet 8 / Aminet 8 (1995)(GTI - Schatztruhe)[!][Oct 1995].iso / Aminet / comm / misc / LogTime.readme < prev    next >
Text File  |  1995-09-20  |  5KB  |  116 lines

  1. Short:    A Simple, Cumulative OnLine Timer v1.18
  2. Author:   mleining@metrolink.net (Jim Leininger)
  3. Uploader: mleining@metrolink.net (Jim Leininger)
  4. Type:     comm/misc
  5.  
  6. $Id: LogTime.readme,v 1.1 1995/09/02 23:13:15 mleining Exp mleining $
  7. /*
  8.  * Copyright (c) 1995, Marvin James (Jim) Leininger, Jr
  9.  *                     mleining@metrolink.net
  10.  *                     All Rights Reserved.
  11.  * 
  12.  * this program is a quick hack to time my ppp connections
  13.  * 
  14.  * I'm providing it "as is" because I thought other's might 
  15.  * find it useful.
  16.  * 
  17.  * To use it:
  18.  * 
  19.  * 0. copy LogTime to someplace in your path, probably
  20.  * AmiTCP:bin or c:
  21.  * 
  22.  * 1. when you connect to your on-line service, run LogTime.
  23.  * (if you don't want the timer output, 
  24.  * use "run >nil: <nil: Logtime")
  25.  * (a good place to do this is in your startppp
  26.  * or startnet script).
  27.  * 
  28.  * 2. when you disconnect from your on-line service, 
  29.  * run logtime with the -s option.
  30.  * (a good place to do this is in your stopppp
  31.  * or stopnet script).
  32.  * 
  33.  * 3. once a month (usually on your billing cutoff date), run
  34.  * LogTime with the -r option, to reset the timer to zero.
  35.  * If you run a cron program, you can add lines to your 
  36.  * crontab to print your current monthly usage (logtime -p)
  37.  * and then reset the counter (logtime -r).
  38.  * 
  39.  * 4. Logtime writes it's time to ENV:LogTimeValue and ENVARC:LogTimeValue,
  40.  * so you can access the current time from those files,
  41.  * or with the environment functions.  I know this is a hack,
  42.  * but I didn't want to take the time to figure out the right
  43.  * way to do this.  It also uses ENV:LogTimeCmd to send itself
  44.  * commands.
  45.  * 
  46.  *    
  47.  *    Standard Disclaimer
  48.  *   -------------------
  49.  *
  50.  * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, 
  51.  * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY 
  52.  * AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL 
  53.  * I BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, 
  54.  * OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 
  55.  * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 
  56.  * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 
  57.  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 
  58.  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF 
  59.  * THE POSSIBILITY OF SUCH DAMAGE.
  60.  */
  61.  
  62. LogTime.gcc is compiled with gcc version 2.5.7
  63. using the amigados script "make.gcc".  Of course,
  64. gcc must be properly configured.
  65.  
  66. LogTime.Aztec is compiled with Manx Aztec C using
  67. the supplied makefile.
  68.  
  69. Both programs should function identically, but I
  70. included both, in case one requires some libraries
  71. that everyone might not have.
  72.  
  73. This should be pretty portable between different
  74. C compilers, but I only have gcc and Manx..
  75.  
  76. Check the header of LogTime.c for additional comments.
  77.  
  78. I've also added some simple scripts with icons to perform
  79. the LogTime functions from Workbench.
  80.  
  81. If you like this program and use it, please send me
  82. a postcard or e-mail.
  83.  
  84. Jim
  85. mleining@metrolink.net
  86.  
  87.  
  88. ============================= Archive contents =============================
  89.  
  90. Original  Packed Ratio    Date     Time    Name
  91. -------- ------- ----- --------- --------  -------------
  92.      628     273 56.5% 02-Sep-95 21:51:48  LogTime.info
  93.      109      76 30.2% 02-Sep-95 02:42:26 +.indent.pro
  94.    12192    6592 45.9% 02-Sep-95 21:47:38 +LogTime
  95.    12192    6592 45.9% 02-Sep-95 21:47:38 +LogTime.Aztec
  96.     8379    3045 63.6% 02-Sep-95 21:45:54 +LogTime.c
  97.      478     242 49.3% 02-Sep-95 21:51:48 +LogTime.c.info
  98.     6592    3357 49.0% 02-Sep-95 21:47:22 +LogTime.gcc
  99.      766     316 58.7% 02-Sep-95 21:51:48 +LogTime.info
  100.     3105    1588 48.8% 02-Sep-95 23:13:16 +LogTime.readme
  101.      478     244 48.9% 02-Sep-95 21:51:48 +LogTime.readme.info
  102.        8       8  0.0% 02-Sep-95 03:55:48 +LogTime.s
  103.      778     371 52.3% 02-Sep-95 21:51:48 +LogTime.s.info
  104.       43      43  0.0% 02-Sep-95 04:00:52 +LogTimeVersion.s
  105.      779     371 52.3% 02-Sep-95 21:51:48 +LogTimeVersion.s.info
  106.       39      39  0.0% 02-Sep-95 02:47:48 +make.gcc
  107.      736     428 41.8% 02-Sep-95 03:54:04 +makefile
  108.       43      43  0.0% 02-Sep-95 04:00:04 +PrintLogTime.s
  109.      778     362 53.4% 02-Sep-95 21:51:48 +PrintLogTime.s.info
  110.       11      11  0.0% 02-Sep-95 04:01:16 +ResetLogTime.s
  111.      778     368 52.6% 02-Sep-95 21:51:48 +ResetLogTime.s.info
  112.       11      11  0.0% 02-Sep-95 03:58:22 +StopLogTime.s
  113.      778     370 52.4% 02-Sep-95 21:51:48 +StopLogTime.s.info
  114. -------- ------- ----- --------- --------
  115.    49701   24750 50.2% 03-Sep-95 08:10:44   22 files
  116.